<div id="content">
	<div class="help">
		<h1>Routes&nbsp;&mdash;&nbsp;Help Documentation</h1>
		<h2>Overview</h2>
		<p>
			This website supports creating new Routes for Couriers to follow.  Couriers will visit stops on
			a Route in order, picking up items along the way, until they reach their final stop and drop
			the rest of their items off.  This Documentation will outline what you can do with Routes.
		</p>
		<p class="notice">
			Only Administrators have the ability to manage Routes.
		</p>
		<h2>Help Topics<h2>
		<ul class="links">
			<li><%= link_to "Routes List", :anchor => "index" %></li>
			<li><%= link_to "Add a New Route", :anchor => "new" %></li>
			<li><%= link_to "Edit an Existing Route", :anchor => "edit" %></li>
		</ul>
		<p>&nbsp;</p>
		<div class="help-section">
			<a name="index"></a><h2>Routes List</h2>
			<p>
				Click <i>Routes</i> in the left submenu to view a list of routes.  This list contains the 
				name of  the route and the couriers that are assigned to that route.  You can get to 
				<%= link_to "Adding a New Route", :anchor => "new" %> and <%= link_to "Editing Routes", :anchor => "edit" %>
				from this page as well.
			</p>
		</div>
		<div class="help-section">
			<a name="new"></a><h2>Add a New Route</h2>
			<p>
				You can get to the <i>Add a Route</i> page by clicking <i>New Route</i> from the 
				Routes List.  The add page requires two pieces: The name of the route and the locations 
				that the Courier must stop at on the Route.  Additionally, you can give notes to a Route,
				which holds any information about the Route that should be kept around for others to see.
			</p>
			<p>
				To specify a stop in the Route, you can Select the location of the Stop from the dropdown 
				list.  You can also add more stops to the route by clicking <i>Add Another Stop</i>, which 
				will add another stop to the ordered list.  Stops must be ordered in the order that you 
				want the Couriers to travel in.
			</p>
			<p>
				When you have finished specifying the Route information, you can click <i>Update</i> to 
				create the Route and begin assigning Couriers to the Route (see <%= link_to "editing routes", :anchor => "edit" %>
				for more information on assigning Couriers to Routes)
			</p>
			<p class="notice">
				Stops are permanent for Routes, so be sure you choose the stops correctly here.
			</p>
		</div>
		<div class="help-section">
			<a name="edit"></a><h2>Edit an Existing Route</h2>
			<p>
				You can edit a Route either right after you have created the Route or from the Routes List
				by clicking <i>Edit</i> on the row containing the Route you want to edit.  The edit page displays the 
				Couriers assigned to the Route on the left as well as the permanent Route information on the right.
			</p>
			<p>
				You can add a Courier to follow a Route by choosing a Courier within <i>Assign Another
				Courier</i>.  You can choose the Courier's name and then select the days of the week that
				the Courier will service the Route in the check boxes.  You can then click <i>Add</i> and 
				this will add that Courier to the Route on the specified days.
			</p>
			<p>
				While you cannot change the Stops on a Route, you can change the Stops given to a Courier.
				First, choose the day for a particular Courier that you want to change (for example, say
				the Courier Joe Smith on Mon Jan 7).  This will display the current Route information for
				that courier on that day below the Courier.  You can then add/change/remove stops on that 
				Route and then click Update.  This will change the Stops for that user on that Day.  You 
				can see all days with custom stops are differentiated by an asterisk (*) next to the date.
				When you are viewing the Route for that specific date, the information on who last changed
				that specific Route assignment will be shown.
			</p>
			<p class="notice">
				You can only edit one Courier at a time, so don't expect updating one Courier will submit
				changes for all Couriers you changed routes for.
			</p>
			<p>
				If you wish to remove a Courier from a route, you can click <i>unassign (recurring)</i> 
				below that user to remove all recurring routes for that user (NOTE this will not remove 
				the custom routes that have been put in above).  To remove custom Routes (and restore 
				the Route template for that day if the recurring Route is still applied to that Courier), 
				select the day you want to reset and click <i>reset to default (this day only)</i>.
			</p>
		</div>
	</div>
</div>